]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
generic-container: Queue a redraw in skip_paint()
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Jan 2011 22:48:51 +0000 (23:48 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 14 Jan 2011 00:07:42 +0000 (01:07 +0100)
When changing a child's visibility with skip_paint(), the change
will not be visible until a redraw is triggered. Queue a redraw,
so that the function has an immediate effect.

https://bugzilla.gnome.org/show_bug.cgi?id=639461

src/shell-generic-container.c

index 8be3a96c5fc235929f0243e66aeddaf9d81e20f2..c54ebf2785294efbab1e7782986848e00a383ae6 100644 (file)
@@ -233,6 +233,8 @@ shell_generic_container_set_skip_paint (ShellGenericContainer  *self,
     g_hash_table_remove (self->priv->skip_paint, child);
   else
     g_hash_table_insert (self->priv->skip_paint, child, child);
+
+  clutter_actor_queue_redraw (CLUTTER_ACTOR (self));
 }
 
 static void